﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Village.Master" AutoEventWireup="true" CodeBehind="Questionnaire.aspx.cs" Inherits="Village_Project.Questionnaire" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            margin-top: 0px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


 <div id="page">
        <div id="content">
            <div class="post">
            <link rel="stylesheet" type="text/css" media="all" href="Style/jsDatePick_ltr.min.css" />
            <script type="text/javascript" src="JQuery/jsDatePick.min.1.3.js"></script>
            <!--Script-->
            <script type="text/javascript">
                window.onload = function () {
                    new JsDatePick({
                        useMode: 2,
                        target: "inputField",
                        dateFormat: "%d/%m/%Y",
                        cellColorScheme: "beige",
                        imgPath: "img/"
                    });
                };
            </script>

                <h3>
                    แบบบันทึกข้อมูลผู้ประสบปัญหาทางสังคม </h3>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

    &nbsp;<asp:Panel ID="Panel1" runat="server" GroupingText="เลือก" 
        CssClass="style1">
        &nbsp;<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False">
            <Columns>
                <asp:BoundField DataField="code" HeaderText="รหัส" />
                <asp:BoundField DataField="dec" HeaderText="รายละเอียด" />
                <asp:TemplateField HeaderText="วันเป้าหมาย">
                    <HeaderTemplate>
                        เลือก
                    </HeaderTemplate>
                    <ItemTemplate>
                        <asp:CheckBox ID="CaseSelector4" runat="server" />
                    </ItemTemplate>
                </asp:TemplateField>
               
            </Columns>
            <AlternatingRowStyle BackColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <RowStyle BackColor="#EFF3FB" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <SortedAscendingCellStyle BackColor="#F5F7FB" />
            <SortedAscendingHeaderStyle BackColor="#6D95E1" />
            <SortedDescendingCellStyle BackColor="#E9EBEF" />
            <SortedDescendingHeaderStyle BackColor="#4870BE" />
        </asp:GridView>
        <asp:Button ID="submit" runat="server" onclick="Button1_Click" Text="บันทึก" />
    </asp:Panel>
      <asp:Panel ID="Panel2" runat="server" GroupingText="เลือก">
          <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False">
              <Columns>
                  <asp:BoundField DataField="code" HeaderText="รหัส" />
                  <asp:BoundField DataField="dec" HeaderText="รายละเอียด" />
              
              </Columns>
              <AlternatingRowStyle BackColor="White" />
              <EditRowStyle BackColor="#2461BF" />
              <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
              <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
              <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
              <RowStyle BackColor="#EFF3FB" />
              <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
              <SortedAscendingCellStyle BackColor="#F5F7FB" />
              <SortedAscendingHeaderStyle BackColor="#6D95E1" />
              <SortedDescendingCellStyle BackColor="#E9EBEF" />
              <SortedDescendingHeaderStyle BackColor="#4870BE" />
          </asp:GridView>
          <asp:Button ID="edit" runat="server" onclick="edit_Click" Text="แก้ไข" />
    </asp:Panel>
              </ContentTemplate>
    </asp:UpdatePanel>
         
                </div>
            <br />    
            </div>



        <div id="sidebar">
		<ul>
			<li>
				<h2>แบบสอบถาม</h2>
					<ul>
                   
                                         <li><a href="Questionnaire.aspx" class="current" >แบบสอบถาม</a></li>
                                           <li><asp:Image ID="Image1" runat="server" Height="162px" Width="179px" /></li>
                                            
					</ul>
				</li>
			</ul>
        </div>


    </div>
</asp:Content>
